using System;
using System.Xml.Serialization;

namespace Jaws.Core.Web.Entities.Workspaces
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class Workspace
    {
        /// <summary>
        /// Gets or sets the name of the user.
        /// </summary>
        /// <value>The name of the user.</value>
        [XmlAttribute("username")]
        public string UserName { get; set; }

        /// <summary>
        /// Gets or sets the path.
        /// </summary>
        /// <value>The path.</value>
        [XmlAttribute("path")]
        public string Path { get; set; }

        /// <summary>
        /// Gets or sets the personalization BLOB.
        /// </summary>
        /// <value>The personalization BLOB.</value>
        [XmlText(typeof (byte[]))]
        public byte[] PersonalizationBlob { get; set; }
    }
}